package com.example.feign.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * @author: ash
 * @time: 2024/2/2  19:14:56
 * @description:
 */

//加上@Configuration注解为全局配置，去掉注解可以单项目配置
//@Configuration
public class FeignConfig {



    //feign日志级别
    @Bean
    public Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }

}